<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增员工</title>
    <!--引入插件css-->
    <link rel="stylesheet" th:href="@{/public/lib/layui/css/layui.css}">
    <!--引入静态资源文件-->
    <link rel="stylesheet" th:href="@{/employee/add.css}">
    <!--引入jquery第三方库-->
    <script th:src="@{/public/lib/jquery/jquery-3.7.1.min.js}"></script>
    <!--引入插件js-->
    <script th:src="@{/public/lib/layui/layui.js}"></script>
    <!--引入自己写的js-->
    <script th:src="@{/employee/add.js}"></script>
</head>
<body>
<div>
    <form id="emp-form" action="">
        <div>
            <label for="name">姓名(<span style="color: red">*</span>)：</label>
            <input type="text" id="name" autocomplete="off" placeholder="请输入员工姓名">
        </div>
        <div>
            <label for="pinyin">拼音：</label>
            <input type="text" id="pinyin" autocomplete="off" placeholder="请输入员工姓名拼音">
        </div>
        <div>
            <label for="male">性别：</label>
            <input type="radio" name="sex" id="male" checked value="男"><label for="male">男</label>
            &nbsp; &nbsp;
            <input type="radio" name="sex" id="female" value="女"><label for="female">女</label>
        </div>
        <div>
            <label for="birthday">出生日期：</label>
            <input type="text" id="birthday" autocomplete="off"
                   placeholder="请输入出生日期，格式：2000-01-01" readonly>
        </div>
        <div>
            <label for="phone">手机号：</label>
            <input type="text" id="phone" autocomplete="off" placeholder="请输入手机号">
        </div>
        <div>
            <label for="email">电子邮箱：</label>
            <input type="text" id="email" autocomplete="off" placeholder="请输入电子邮箱">
        </div>
        <div>
            <label for="cardId">身份证号：</label>
            <input type="text" id="cardId" autocomplete="off" placeholder="请输入身份证号">
        </div>
        <div>
            <label for="description">备注：</label>
            <textarea id="description" autocomplete="off" placeholder="请输入备注"></textarea>
        </div>
    </form>
</div>

</body>
</html>